package com.itboye.ihomebank.adapter;

import java.util.List;

/**
 * { "name": "百亩田", "code": "330110d6", "abbr": "baimutian", "children": [ {
 * "name": "test小区1", "code": "330110d601" }, { "name": "test小区2", "code":
 * "330110d602" }, { "name": "test小区3", "code": "330110d603" }, { "name":
 * "test小区4", "code": "330110d604" } ]
 * 
 */

public class QuBean {

	private String code;
	private String name;
	private String abbr;

	private List<Children> children;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAbbr() {
		return abbr;
	}

	public void setAbbr(String abbr) {
		this.abbr = abbr;
	}

	public List<Children> getChildren() {
		return children;
	}

	public void setChildren(List<Children> children) {
		this.children = children;
	}

	public static class Children {

		private String code;
		private String name;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
		
		@Override
		public String toString() {
			return "QuBean.Children  [code=" + code + ", name=" + name + "]";
		}

	}

}
